import 'package:flutter/material.dart';

class JcTextStyle {
  static octoberDevanagariBoldTextStyle(double fontSize, Color textColor,
      {FontWeight fWeight = FontWeight.w400,
      TextDecoration decor = TextDecoration.none}) {
    return TextStyle(
        fontSize: fontSize,
        color: textColor,
        fontFamily: 'OctoberDevanagariBold',
        fontWeight: fWeight,
        decoration: decor);
  }

  static octoberDevanagariMediumTextStyle(double fontSize, Color textColor,
      {FontWeight fWeight = FontWeight.w400,
      TextDecoration decor = TextDecoration.none}) {
    return TextStyle(
        fontSize: fontSize,
        color: textColor,
        fontFamily: 'OctoberDevanagariMedium',
        fontWeight: fWeight,
        decoration: decor);
  }

  static octoberDevanagariRegularTextStyle(double fontSize, Color textColor,
      {FontWeight fWeight = FontWeight.w400,
      TextDecoration decor = TextDecoration.none}) {
    return TextStyle(
        fontSize: fontSize,
        color: textColor,
        fontFamily: 'OctoberDevanagariRegular',
        fontWeight: fWeight,
        decoration: decor);
  }

  static poetsenOneRegularTextStyle(double fontSize, Color textColor,
      {FontWeight fWeight = FontWeight.w400,
      TextDecoration decor = TextDecoration.none}) {
    return TextStyle(
        fontSize: fontSize,
        color: textColor,
        fontFamily: 'PoetsenOneRegular',
        fontWeight: fWeight,
        decoration: decor);
  }

  static sourceKeynoteartHansTextStyle(double fontSize, Color textColor,
      {FontWeight fWeight = FontWeight.w400,
      TextDecoration decor = TextDecoration.none}) {
    return TextStyle(
        fontSize: fontSize,
        color: textColor,
        fontFamily: 'SourceKeynoteartHans',
        fontWeight: fWeight,
        decoration: decor);
  }
}
